﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;

namespace QLKS.ViewModels
{
    static public class BaoCaoViewModel
    {
        //Lấy báo cáo
        static public DataSet GetBaoCaoDoanhThuTheoLoaiPhong(int nam, int thang)
        {
            return Models.BaoCaoModel.GetBaoCaoDoanhThuTheoLoaiPhong(nam, thang);
        }

        static public DataTable GetBaoCaoMatDoSuDungPhong(int nam, int thang)
        {
            DataTable tb = new DataTable();
            tb = Models.BaoCaoModel.GetBaoCaoMatDoSuDungPhong(nam, thang);
            return tb;
        }
        //Chi tiết báo cáo
        static public DataTable GetChiTietBCDoanhThuTheoLoaiPhong(int nam, int thang, int malp)
        {
            DataTable tb = new DataTable();
            tb = Models.BaoCaoModel.GetChiTietBCDoanhThuTheoLoaiPhong(nam, thang, malp);
            return tb;
        }

        static public DataTable GetChiTietBCMatDoSuDungPhong(int nam, int thang, string maphong)
        {
            DataTable tb = new DataTable();
            tb = Models.BaoCaoModel.GetChiTietBCMatDoSuDungPhong(nam, thang, maphong);
            return tb;
        }
    }
}
